package com.ruoyi.partybuilding.domain.vo;

import com.easy.query.core.annotation.ColumnIgnore;
import com.easy.query.core.annotation.EasyWhereCondition;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.partybuilding.common.ExcelHandle;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;


@Data
public class ScoreYearStatVo {
    @EasyWhereCondition(type = EasyWhereCondition.Condition.EQUAL)
    Long userId;

    @Excel(name = "用户名称",sort = 1,width = 30)
    @EasyWhereCondition
    String nickName;

    @EasyWhereCondition(type = EasyWhereCondition.Condition.EQUAL)
    Long deptId;

    @Excel(name = "部门名称",sort = 2,width = 30)
    @EasyWhereCondition
    String deptName;

    @ApiModelProperty(value = "归属年份")
    @Excel(name = "年份",sort =10,width = 30)
    Long yearSign;
    @ApiModelProperty(value = "总分")
    @Excel(name = "总分",sort =11,width = 30)
    BigDecimal scoreSum;

    @ApiModelProperty(value = "类型：1是组织,0个人")
    @ColumnIgnore
    Long type;

    @Excel(name = "排名",sort =0,width = 30)
    @ColumnIgnore
    Integer index;

}
